package com.tudouji.project.harvest.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 过磅单对象 weighlist
 * 
 * @author tudouji
 * @date 2021-05-12
 */
public class Weighlist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 货运单ID */
    @Excel(name = "货运单ID")
    private String foguid;

    /** 1拉货过磅单
2 到货过磅单
 */
    @Excel(name = "1拉货过磅单2 到货过磅单")
    private Integer wtype;

    /** 净重 */
    @Excel(name = "净重")
    private BigDecimal weight;

    /** 过磅人员 */
    @Excel(name = "过磅人员")
    private String operator;

    /** 最后修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    /** 包装数量 */
    @Excel(name = "包装数量")
    private Long pkgcount;

    /** 拉货过磅重量 */
    @Excel(name = "拉货过磅重量")
    private BigDecimal lbweight;

    /** 库存单位id */
    @Excel(name = "库存单位id")
    private Long stockunitid;

    /** 库存单位名称 */
    @Excel(name = "库存单位名称")
    private String stockunit;

    private Date createtime;

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setFoguid(String foguid) 
    {
        this.foguid = foguid;
    }

    public String getFoguid() 
    {
        return foguid;
    }
    public void setWtype(Integer wtype) 
    {
        this.wtype = wtype;
    }

    public Integer getWtype() 
    {
        return wtype;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setLastupdate(Date lastupdate) 
    {
        this.lastupdate = lastupdate;
    }

    public Date getLastupdate() 
    {
        return lastupdate;
    }
    public void setPkgcount(Long pkgcount) 
    {
        this.pkgcount = pkgcount;
    }

    public Long getPkgcount() 
    {
        return pkgcount;
    }
    public void setLbweight(BigDecimal lbweight) 
    {
        this.lbweight = lbweight;
    }

    public BigDecimal getLbweight() 
    {
        return lbweight;
    }
    public void setStockunitid(Long stockunitid) 
    {
        this.stockunitid = stockunitid;
    }

    public Long getStockunitid() 
    {
        return stockunitid;
    }
    public void setStockunit(String stockunit) 
    {
        this.stockunit = stockunit;
    }

    public String getStockunit() 
    {
        return stockunit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("foguid", getFoguid())
            .append("wtype", getWtype())
            .append("weight", getWeight())
            .append("operator", getOperator())
            .append("createtime", getCreatetime())
            .append("lastupdate", getLastupdate())
            .append("pkgcount", getPkgcount())
            .append("lbweight", getLbweight())
            .append("stockunitid", getStockunitid())
            .append("stockunit", getStockunit())
            .toString();
    }
}
